version: '3.4'

services:
  app:
    image: '${IMAGE_APP_STAGE}'
    deploy:
      placement:
        constraints:
          - 'node.role==manager'
      replicas: 1
      restart_policy:
        condition: on-failure
        max_attempts: 3
    healthcheck:
      disable: true
    ports:
      - '2050:7300'
